﻿using System;
using System.Web.Mvc;
using System.ComponentModel.DataAnnotations;

namespace RedSand.Site.Models
{
    /// <summary>
    /// Roles Entity
    /// </summary>
    public class RoleInfo
    {
        [Key]
        [HiddenInput(DisplayValue=false)]
        public int RoleID{ get; set; }

        [Display(Name = "Name")]
        [Required]
        public string Name{ get; set; }

        [Display(Name = "Status")]
        [Required]
        public byte Status{ get; set; }
    }
    public class RoleCheckListModel : RoleInfo
    {
        public bool Check { get; set; }
    }
}
